package com.heima.crm.service;

import com.heima.crm.common.result.PageResult;
import com.heima.crm.common.result.Result;
import com.heima.crm.pojos.dtos.DicTypePageDTO;
import com.heima.crm.pojos.entity.SysDictType;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface SysDicTypeService {
    Result add(SysDictType sysDictType);

    Result findList(DicTypePageDTO dto);

    Result findById(Long dicId);

    Result update(SysDictType sysDictType);

    Result deleteById(Long dicId);

    Result deleteByIds(List<Long> ids);

    Result allDictName();

    Result export(HttpServletResponse response, List<Long> ids);
}
